<template>
  <div id="app">
    <router-view/>
    <van-popup v-model="$store.state.registerBit" :close-on-click-overlay="false"><dw-register-popup></dw-register-popup></van-popup>
  </div>
</template>

<script>
  import dwRegisterPopup from './components/registerPopup.vue'
export default {
  name: 'App',
  provide(){
    return{
      reload:this.reload
    }
  },
  components: {dwRegisterPopup},
}
</script>

<style>
  @import "../static/css/main.css";
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /*text-align: center;*/
    height: 100%;
    width: 100%;
    background: white;
  }
  .van-popup{
    border-radius: 6px;
  }
</style>
